package cn.seaboot.admin.mybatis;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * mybatis 参数配置
 *
 * @author Mr.css
 * @version 2023-06-30 10:32
 */
@Component
@ConfigurationProperties(prefix = SeaMybatisProperties.MYBATIS_PREFIX)
public class SeaMybatisProperties {
    public static final String MYBATIS_PREFIX = "seaboot-mybatis";

    /**
     * 是否启用数据脱敏
     */
    private boolean usingDesensitize;

    public boolean isUsingDesensitize() {
        return usingDesensitize;
    }

    public void setUsingDesensitize(boolean usingDesensitize) {
        this.usingDesensitize = usingDesensitize;
    }
}
